package com.qf.api.blog.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author: sin
 * @Date: 2025/5/26 23:02
 * @Description: 知识库添加文章  文章实体
 **/
@Data
public class CatalogArticleDTO {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotNull(message = "知识库Id不为空")
    private Long wikiId;
}
